<%--
  Created by IntelliJ IDEA.
  User: 宝贝嘉燕
  Date: 2021/9/25
  Time: 9:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    request.setAttribute("msg","嘿嘿嘿");

%>

<h1>原始方式获取数据：<%=request.getAttribute("msg")%></h1>
<h1>使用EL表达式获取数据：${msg}</h1>
</body>
</html>
